debian: Fix some lintian warnings
authorBoyuan Yang <073plan@gmail.com>
Mon, 12 Feb 2018 01:21:31 +0000 (09:21 +0800)
committerBoyuan Yang <073plan@gmail.com>
Mon, 12 Feb 2018 01:21:31 +0000 (09:21 +0800)
debian/changelog
debian/rules

index ea2aecf4acfe446877e323fdf3db3c0e48efa04c..09132fff91628c48a01903c35b8d305ada4ebc55 100644 (file)
@@ -8,12 +8,13 @@ opencc (1.0.5-1) unstable; urgency=medium
     Thank you for your previous work!
   * Apply "wrap-and-sort -abst".
   * d/patches: Refresh patches.
+  * d/changelog: Remove trailing spaces.
   * d/control: Use debian-input-method maillist in Maintainer field.
   * d/control: Use canonical Vcs URL.
   * d/control: Bump Standards-Version to 4.1.3.
   * d/control: Bump debhelper compat to v11.
 
- -- Boyuan Yang <073plan@gmail.com>  Mon, 12 Feb 2018 09:12:36 +0800
+ -- Boyuan Yang <073plan@gmail.com>  Mon, 12 Feb 2018 09:21:04 +0800
 
 opencc (1.0.4-4) unstable; urgency=medium
 
@@ -74,7 +75,7 @@ opencc (1.0.2-1) experimental; urgency=medium
 
 opencc (0.4.3-2) unstable; urgency=low
 
-  * Add the python-opencc package to support the Python binding. 
+  * Add the python-opencc package to support the Python binding.
     Closes: #694993
   * Bump standard version to 3.9.5.
 
@@ -100,7 +101,7 @@ opencc (0.4.0-1) experimental; urgency=low
 
 opencc (0.3.0-3) unstable; urgency=low
 
-  * Rebuild to 
+  * Rebuild to
     generate little endian mo file on any arch (Closes: #670016).
   * add an - before include buildflags.mk
 
@@ -158,7 +159,7 @@ opencc (0.2.0-1) unstable; urgency=low
 opencc (0.1.2-1) unstable; urgency=low
 
   * New upstream release.
-  * debian/libopencc1.symbols: updated. 
+  * debian/libopencc1.symbols: updated.
 
  -- LI Daobing <lidaobing@debian.org>  Wed, 22 Sep 2010 20:40:54 +0800
 
@@ -176,7 +177,7 @@ opencc (0.1.1-1) unstable; urgency=low
   * debian/watch: use googlecode.debian.net.
 
   [ LI Daobing ]
-  * debian/clean: added. 
+  * debian/clean: added.
 
  -- LI Daobing <lidaobing@debian.org>  Wed, 11 Aug 2010 22:04:12 +0800
 
@@ -196,7 +197,7 @@ opencc (0.1.0-1) unstable; urgency=low
 opencc (0.0.5-1) unstable; urgency=low
 
   * New upstream release.
-  * debain/control: no longer build depends on python. 
+  * debain/control: no longer build depends on python.
   * debian/opencc.install: move .mo files to libopencc0.
   * debian/libopencc0.install: install .mo files.
   * debian/opencc_dict.1: deleted.
@@ -215,7 +216,7 @@ opencc (0.0.3-1) unstable; urgency=low
 
   * New upstream release.
   * debian/opencc.install: updated.
-  * debian/control: opencc depends on libopencc0 at the same version. 
+  * debian/control: opencc depends on libopencc0 at the same version.
 
  -- LI Daobing <lidaobing@debian.org>  Tue, 22 Jun 2010 19:08:33 +0800
 
index 8be892524e459990a5ae0d346ce83ed0e2f90051..4d06c4ef7bac85e582e915a01662187c33255a39 100755 (executable)
@@ -1,6 +1,11 @@
 #!/usr/bin/make -f
+# -*- makefile -*-
+# Uncomment this to turn on verbose mode.
+# export DH_VERBOSE=1
 
+# see FEATURE AREAS in dpkg-buildflags(1)
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 # CMake doesn't use CPPFLAGS, pass them to CFLAGS/CXXFLAGS to enable the
 # missing (hardening) flags.